]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
grabHelper: Avoid sync_pointer after pop_modal()
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 18 Dec 2020 12:22:50 +0000 (13:22 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 14 Feb 2021 13:57:56 +0000 (13:57 +0000)
This is only necessary for the X11 backend (as grabs triggered by other
clients leave GNOME Shell oblivious of the actual pointer position), but
is now handled inside Mutter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1556>

js/ui/grabHelper.js

index 2ba2aad9a3295d987ccaa3b3132e189f517b1b13..532f744175a110ca01007706f613f2920055138c 100644 (file)
@@ -226,7 +226,6 @@ var GrabHelper = class GrabHelper {
         this._ignoreUntilRelease = false;
 
         Main.popModal(this._owner);
-        global.sync_pointer();
     }
 
     // ignoreRelease: